.errorPage {
  height: 100vh;
  width: 100%;
}

.star {
  width: 11px;
  height: 11px;
  display: inline-block;
  position: absolute;
  fill: #ffffff;

  &:nth-child(3n + 3) {
    fill: #fec777;
  }

  &:nth-child(5n + 5) {
    fill: #498fb3;
  }
}

.layerWrap {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
}

.layer {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  animation-name: zoom;
  animation-duration: 5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.layer1 {
  animation-delay: 0s;
}

.layer2 {
  animation-delay: 1s;
}

.layer3 {
  animation-delay: 2s;
}

.layer4 {
  animation-delay: 3s;
}

.layer5 {
  animation-delay: 4s;
}

.text {
  $shade: rgba(25, 41, 48, 0.1);

  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  width: 100%;
  position: relative;
  text-shadow: 0 2px 5px $shade, 0 4px 5px $shade, 0 6px 5px $shade,
    0 8px 5px $shade, 0 10px 5px $shade, 0 12px 5px $shade, 0 14px 5px $shade,
    0 16px 5px $shade, 0 18px 5px $shade, 0 20px 5px $shade;
}

.content {
  position: absolute;
  z-index: 999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes zoom {
  0% {
    transform: scale(0.1);
    opacity: 0;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
